/**
 * 
 */
package de.wesemann.jdedun.entities.district.ihkcompanies;

import de.wesemann.jdedun.entities.AbstractEntity;

/**
 * @author spinner0815
 * 
 */
public class DistrictIHKCompanies extends AbstractEntity {
    private int district_id;// integer id des Stadtteils
    private int companies_total;// integer Gesamtanzahl der Unternehmen im
				// Stadtteil
    private int agriculture_foresrty_fishery;// integer Land- und
					     // Forstwirtschaft, Fischerei
    private int mining;// integer Bergbau und Gewinnung von Steinen und Erden
    private int processing_trade;// integer Verarbeitendes Gewerbe
    private int power_supply;// integer Energieversorgung
    // integer Wasserversorgung Abwasser- und Abfallentsorgung und Beseitigung
    // von Umweltverschmutzungen
    private int water_supply_and_waste_management;
    private int building_contruction;// integer Baugewerbe
    private int vehicle_maintenance;// integer Handel Instandhaltung und
				    // Reparatur von Kraftfahrzeugen
    private int traffic_and_warehousing;// integer Verkehr und Lagerei
    private int hotel_and_restaurant_industry;// integer Gastgewerbe
    private int information_and_communication;// integer Information und
					      // Kommunikation
    // integer Erbringung von Finanz- und Versicherungsdienstleistungen
    private int financial_and_insurance_services;
    private int housing;// integer Grundstücks- und Wohnungswesen
    // integer Erbringung von Freiberuflichen, wissenschaftlichen und
    // technischen Dienstleistungen
    private int scientific_and_technical_services;
    private int other_economic_services;// integer Erbringung von sonstigen
					// wirtschaftlichen Dienstleistungen
    private int public_administration;// integer öffentliche Verwaltung,
				      // Verteidigung Sozialversicherung
    private int education;// integer Erziehung und Unterricht
    private int health_care;// integer Gesundheits- und Sozialwesen
    private int artistry_and_entertainment;// integer Kunst, Unterhaltung und
					   // Erholung
    private int other_services;// integer Erbringung von sonstigen
			       // Dienstleistungen
    // integer private Haushalte mit Hauspersonal Herstellung von Waren und
    // Erbringung von Dienstleistungen durch private Haushalte für den
    // Eigenbedarf ohne ausgeprägten Schwerpunkt
    private int private_services;
    // integer exterritoriale Organisationen und Körperschaften
    private int extraterritorial_organisations;
    private int other;// integer Nicht zuordenbar
    /**
     * @return the district_id
     */
    public int getDistrict_id() {
        return district_id;
    }
    /**
     * @param district_id the district_id to set
     */
    public void setDistrict_id(int district_id) {
        this.district_id = district_id;
    }
    /**
     * @return the companies_total
     */
    public int getCompanies_total() {
        return companies_total;
    }
    /**
     * @param companies_total the companies_total to set
     */
    public void setCompanies_total(int companies_total) {
        this.companies_total = companies_total;
    }
    /**
     * @return the agriculture_foresrty_fishery
     */
    public int getAgriculture_foresrty_fishery() {
        return agriculture_foresrty_fishery;
    }
    /**
     * @param agriculture_foresrty_fishery the agriculture_foresrty_fishery to set
     */
    public void setAgriculture_foresrty_fishery(int agriculture_foresrty_fishery) {
        this.agriculture_foresrty_fishery = agriculture_foresrty_fishery;
    }
    /**
     * @return the mining
     */
    public int getMining() {
        return mining;
    }
    /**
     * @param mining the mining to set
     */
    public void setMining(int mining) {
        this.mining = mining;
    }
    /**
     * @return the processing_trade
     */
    public int getProcessing_trade() {
        return processing_trade;
    }
    /**
     * @param processing_trade the processing_trade to set
     */
    public void setProcessing_trade(int processing_trade) {
        this.processing_trade = processing_trade;
    }
    /**
     * @return the power_supply
     */
    public int getPower_supply() {
        return power_supply;
    }
    /**
     * @param power_supply the power_supply to set
     */
    public void setPower_supply(int power_supply) {
        this.power_supply = power_supply;
    }
    /**
     * @return the water_supply_and_waste_management
     */
    public int getWater_supply_and_waste_management() {
        return water_supply_and_waste_management;
    }
    /**
     * @param water_supply_and_waste_management the water_supply_and_waste_management to set
     */
    public void setWater_supply_and_waste_management(
    	int water_supply_and_waste_management) {
        this.water_supply_and_waste_management = water_supply_and_waste_management;
    }
    /**
     * @return the building_contruction
     */
    public int getBuilding_contruction() {
        return building_contruction;
    }
    /**
     * @param building_contruction the building_contruction to set
     */
    public void setBuilding_contruction(int building_contruction) {
        this.building_contruction = building_contruction;
    }
    /**
     * @return the vehicle_maintenance
     */
    public int getVehicle_maintenance() {
        return vehicle_maintenance;
    }
    /**
     * @param vehicle_maintenance the vehicle_maintenance to set
     */
    public void setVehicle_maintenance(int vehicle_maintenance) {
        this.vehicle_maintenance = vehicle_maintenance;
    }
    /**
     * @return the traffic_and_warehousing
     */
    public int getTraffic_and_warehousing() {
        return traffic_and_warehousing;
    }
    /**
     * @param traffic_and_warehousing the traffic_and_warehousing to set
     */
    public void setTraffic_and_warehousing(int traffic_and_warehousing) {
        this.traffic_and_warehousing = traffic_and_warehousing;
    }
    /**
     * @return the hotel_and_restaurant_industry
     */
    public int getHotel_and_restaurant_industry() {
        return hotel_and_restaurant_industry;
    }
    /**
     * @param hotel_and_restaurant_industry the hotel_and_restaurant_industry to set
     */
    public void setHotel_and_restaurant_industry(int hotel_and_restaurant_industry) {
        this.hotel_and_restaurant_industry = hotel_and_restaurant_industry;
    }
    /**
     * @return the information_and_communication
     */
    public int getInformation_and_communication() {
        return information_and_communication;
    }
    /**
     * @param information_and_communication the information_and_communication to set
     */
    public void setInformation_and_communication(int information_and_communication) {
        this.information_and_communication = information_and_communication;
    }
    /**
     * @return the financial_and_insurance_services
     */
    public int getFinancial_and_insurance_services() {
        return financial_and_insurance_services;
    }
    /**
     * @param financial_and_insurance_services the financial_and_insurance_services to set
     */
    public void setFinancial_and_insurance_services(
    	int financial_and_insurance_services) {
        this.financial_and_insurance_services = financial_and_insurance_services;
    }
    /**
     * @return the housing
     */
    public int getHousing() {
        return housing;
    }
    /**
     * @param housing the housing to set
     */
    public void setHousing(int housing) {
        this.housing = housing;
    }
    /**
     * @return the scientific_and_technical_services
     */
    public int getScientific_and_technical_services() {
        return scientific_and_technical_services;
    }
    /**
     * @param scientific_and_technical_services the scientific_and_technical_services to set
     */
    public void setScientific_and_technical_services(
    	int scientific_and_technical_services) {
        this.scientific_and_technical_services = scientific_and_technical_services;
    }
    /**
     * @return the other_economic_services
     */
    public int getOther_economic_services() {
        return other_economic_services;
    }
    /**
     * @param other_economic_services the other_economic_services to set
     */
    public void setOther_economic_services(int other_economic_services) {
        this.other_economic_services = other_economic_services;
    }
    /**
     * @return the public_administration
     */
    public int getPublic_administration() {
        return public_administration;
    }
    /**
     * @param public_administration the public_administration to set
     */
    public void setPublic_administration(int public_administration) {
        this.public_administration = public_administration;
    }
    /**
     * @return the education
     */
    public int getEducation() {
        return education;
    }
    /**
     * @param education the education to set
     */
    public void setEducation(int education) {
        this.education = education;
    }
    /**
     * @return the health_care
     */
    public int getHealth_care() {
        return health_care;
    }
    /**
     * @param health_care the health_care to set
     */
    public void setHealth_care(int health_care) {
        this.health_care = health_care;
    }
    /**
     * @return the artistry_and_entertainment
     */
    public int getArtistry_and_entertainment() {
        return artistry_and_entertainment;
    }
    /**
     * @param artistry_and_entertainment the artistry_and_entertainment to set
     */
    public void setArtistry_and_entertainment(int artistry_and_entertainment) {
        this.artistry_and_entertainment = artistry_and_entertainment;
    }
    /**
     * @return the other_services
     */
    public int getOther_services() {
        return other_services;
    }
    /**
     * @param other_services the other_services to set
     */
    public void setOther_services(int other_services) {
        this.other_services = other_services;
    }
    /**
     * @return the private_services
     */
    public int getPrivate_services() {
        return private_services;
    }
    /**
     * @param private_services the private_services to set
     */
    public void setPrivate_services(int private_services) {
        this.private_services = private_services;
    }
    /**
     * @return the extraterritorial_organisations
     */
    public int getExtraterritorial_organisations() {
        return extraterritorial_organisations;
    }
    /**
     * @param extraterritorial_organisations the extraterritorial_organisations to set
     */
    public void setExtraterritorial_organisations(int extraterritorial_organisations) {
        this.extraterritorial_organisations = extraterritorial_organisations;
    }
    /**
     * @return the other
     */
    public int getOther() {
        return other;
    }
    /**
     * @param other the other to set
     */
    public void setOther(int other) {
        this.other = other;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
	final int prime = 31;
	int result = super.hashCode();
	result = prime * result + agriculture_foresrty_fishery;
	result = prime * result + artistry_and_entertainment;
	result = prime * result + building_contruction;
	result = prime * result + companies_total;
	result = prime * result + district_id;
	result = prime * result + education;
	result = prime * result + extraterritorial_organisations;
	result = prime * result + financial_and_insurance_services;
	result = prime * result + health_care;
	result = prime * result + hotel_and_restaurant_industry;
	result = prime * result + housing;
	result = prime * result + information_and_communication;
	result = prime * result + mining;
	result = prime * result + other;
	result = prime * result + other_economic_services;
	result = prime * result + other_services;
	result = prime * result + power_supply;
	result = prime * result + private_services;
	result = prime * result + processing_trade;
	result = prime * result + public_administration;
	result = prime * result + scientific_and_technical_services;
	result = prime * result + traffic_and_warehousing;
	result = prime * result + vehicle_maintenance;
	result = prime * result + water_supply_and_waste_management;
	return result;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#equals(java.lang.Object)
     */
    @Override
    public boolean equals(Object obj) {
	if (this == obj) {
	    return true;
	}
	if (!super.equals(obj)) {
	    return false;
	}
	if (getClass() != obj.getClass()) {
	    return false;
	}
	DistrictIHKCompanies other = (DistrictIHKCompanies) obj;
	if (agriculture_foresrty_fishery != other.agriculture_foresrty_fishery) {
	    return false;
	}
	if (artistry_and_entertainment != other.artistry_and_entertainment) {
	    return false;
	}
	if (building_contruction != other.building_contruction) {
	    return false;
	}
	if (companies_total != other.companies_total) {
	    return false;
	}
	if (district_id != other.district_id) {
	    return false;
	}
	if (education != other.education) {
	    return false;
	}
	if (extraterritorial_organisations != other.extraterritorial_organisations) {
	    return false;
	}
	if (financial_and_insurance_services != other.financial_and_insurance_services) {
	    return false;
	}
	if (health_care != other.health_care) {
	    return false;
	}
	if (hotel_and_restaurant_industry != other.hotel_and_restaurant_industry) {
	    return false;
	}
	if (housing != other.housing) {
	    return false;
	}
	if (information_and_communication != other.information_and_communication) {
	    return false;
	}
	if (mining != other.mining) {
	    return false;
	}
	if (this.other != other.other) {
	    return false;
	}
	if (other_economic_services != other.other_economic_services) {
	    return false;
	}
	if (other_services != other.other_services) {
	    return false;
	}
	if (power_supply != other.power_supply) {
	    return false;
	}
	if (private_services != other.private_services) {
	    return false;
	}
	if (processing_trade != other.processing_trade) {
	    return false;
	}
	if (public_administration != other.public_administration) {
	    return false;
	}
	if (scientific_and_technical_services != other.scientific_and_technical_services) {
	    return false;
	}
	if (traffic_and_warehousing != other.traffic_and_warehousing) {
	    return false;
	}
	if (vehicle_maintenance != other.vehicle_maintenance) {
	    return false;
	}
	if (water_supply_and_waste_management != other.water_supply_and_waste_management) {
	    return false;
	}
	return true;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("DistrictIHKCompanies [district_id=");
	builder.append(district_id);
	builder.append(", companies_total=");
	builder.append(companies_total);
	builder.append(", agriculture_foresrty_fishery=");
	builder.append(agriculture_foresrty_fishery);
	builder.append(", mining=");
	builder.append(mining);
	builder.append(", processing_trade=");
	builder.append(processing_trade);
	builder.append(", power_supply=");
	builder.append(power_supply);
	builder.append(", water_supply_and_waste_management=");
	builder.append(water_supply_and_waste_management);
	builder.append(", building_contruction=");
	builder.append(building_contruction);
	builder.append(", vehicle_maintenance=");
	builder.append(vehicle_maintenance);
	builder.append(", traffic_and_warehousing=");
	builder.append(traffic_and_warehousing);
	builder.append(", hotel_and_restaurant_industry=");
	builder.append(hotel_and_restaurant_industry);
	builder.append(", information_and_communication=");
	builder.append(information_and_communication);
	builder.append(", financial_and_insurance_services=");
	builder.append(financial_and_insurance_services);
	builder.append(", housing=");
	builder.append(housing);
	builder.append(", scientific_and_technical_services=");
	builder.append(scientific_and_technical_services);
	builder.append(", other_economic_services=");
	builder.append(other_economic_services);
	builder.append(", public_administration=");
	builder.append(public_administration);
	builder.append(", education=");
	builder.append(education);
	builder.append(", health_care=");
	builder.append(health_care);
	builder.append(", artistry_and_entertainment=");
	builder.append(artistry_and_entertainment);
	builder.append(", other_services=");
	builder.append(other_services);
	builder.append(", private_services=");
	builder.append(private_services);
	builder.append(", extraterritorial_organisations=");
	builder.append(extraterritorial_organisations);
	builder.append(", other=");
	builder.append(other);
	builder.append("]");
	return builder.toString();
    }

}
